package com.syty.demo.result;

/**
 * 返回结果集中的状态码
 * 0true  1false
 */
public enum ResultCodes {
    LOGIN_SUBMIT_SUCCESS(200),
    LOGIN_SUBMIT_FAIL(201),
    REGISTER_SUBMIT_SUCCESS(210),
    REGISTER_SUBMIT_FAIL(211),
    REMAKE_SUBMIT_SUCCESS(220),
    REMAKE_SUBMIT_FAIL(221),
    DELETE_SUBMIT_SUCCESS(230),
    DELETE_SUBMIT_FAIL(231),
    UPDATE_SUBMIT_SUCCESS(240),
    UPDATE_SUBMIT_FAIL(241),
    CREATE_SUBMIT_SUCCESS(250),
    CREATE_SUBMIT_FAIL(251);

    private Integer resultCode;

    ResultCodes(Integer resultCode) {
        this.resultCode = resultCode;
    }
}
